package cn.edu.scau.cmi.huangjunxi.hibernate.domain;

import javafx.beans.property.SimpleStringProperty;

public class Student_Factory {
	 
    private final SimpleStringProperty id;
    private final SimpleStringProperty name;
    private final SimpleStringProperty teacher;

    public Student_Factory(String long1, String name, String teacher) {
        this.id = new SimpleStringProperty(long1);
        //System.out.println(this.id);
        this.name = new SimpleStringProperty(name);
        //System.out.println(this.name);
        this.teacher = new SimpleStringProperty(teacher);
    }

    public String getId() {
        return id.get();
    }

    public void setId(String fName) {
    	id.set(fName);
    }

    public String getName() {
        return name.get();
    }

    public void setName(String fName) {
    	name.set(fName);
    }

    public String getTeacher() {
        return teacher.get();
    }

    public void setTeacher(String fName) {
    	teacher.set(fName);
    }
}
